package com.qf.carlikeboot.mapper;

import com.qf.carlikeboot.domain.Card;

import java.util.List;

/**
 * @description 针对表【card】的数据库操作Mapper
 * @createDate 2022-05-20 09:49:37
 * @Entity com.qf.carlikeboot.domain.Card
 */


public interface CardMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Card record);

    int insertSelective(Card record);

    Card selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Card record);

    int updateByPrimaryKey(Card record);

    // 查询所有名片
    List<Card> selectAll();

    // 用户喜欢的名片列表
    List<Card> selectByIdList(List<String> idList);

}
